package com.xueshishasha.oa.service;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.xueshishasha.oa.model.CheckOut;

public interface CheckOutService {

	public CheckOut getInfo(String id);

	public void updateInfo(CheckOut checkOut);

	public Serializable save(CheckOut checkOut);

	public void delete(CheckOut checkOut);

	public List<CheckOut> getAll();

	public CheckOut getModelById(Serializable id);

	public List<CheckOut> getModels(String hql, Object[] parameters);

	public void saveOrUpdate(CheckOut checkOut);

	public void saveOrUpdateAll(Collection<CheckOut> collection);

	public void update(CheckOut checkOut);

	public List<CheckOut> getByCriteria(DetachedCriteria dc);

}
